<template>
<div v-if="show" class="model-bg" @click="hide">
  <div class="fadeInLeft animated modal" @click="stopPropagation">
    <slot></slot>
  </div>
</div>
</template>

<script setup lang="ts">
const props = defineProps({
  show:{
    type:Boolean,
    default:false
  }
})

const hide = () =>{

}

const stopPropagation = () =>{}
</script>

<style scoped>

</style>